<?php 
	include '../../db.php';
	$customerID = $_POST['targetCustomer'];
	$cName = $_POST['cName'];
	$cJobTitle = $_POST['cJobTitle'];
	$cLocation = $_POST['cLocation'];
	$cPO = $_POST['cPO'];
	$cEmail = $_POST['cEmail'];
	$cNumber = $_POST['cNumber'];
	$cCompName = $_POST['cCompName'];
	
	$sql = "INSERT INTO customers SET
	cName='$cName',
	cJobTitle='$cJobTitle',
	cLocation='$cLocation',
	cPO='$cPO',
	cEmail='$cEmail',
	cNumber='$cNumber',
	cCompName='$cCompName'";
	
	@mysql_query($sql);	
	header("Location:../../led-master.php?mngr=cust&subpg=edit&action=custaddsuccess");	
	
?>